{include file="common/header"}

<div class="container-fluid buwei">

	<div class="container show-arti " style="width: 1200px;">

		<h2>{$row.title}</h2>

		<p class="show-arti-biaozhu">

			<span class="l con-l">作者：</span><span class="r con-l">{$row.users.username}</span>

			<span class="l con-l">发表于：</span><span class="r con-l">{$row.createtime|date="Y-m-d H:i:s",###}</span>

			<span class="l con-l">浏览：</span><span class="r con-l">{$row.hits}</span>

			{eq name='$Think.session.medical_user.id' value='$row.user_id'}
			<a id="del" class="con-r arti-edit">删除</a>
			<a href="/index/user/editArticle/ids/{$row.id}.html" class="con-r arti-edit">编辑</a>
			
			{/eq}

			<span class="r con-r">{$row.updatetime|date="Y-m-d H:i:s",###}</span><span class="l con-r">修改时间：</span>

			<span class="r con-r">{$row.editnum}次</span><span class="l con-r">修改次数：</span>

		</p>

		<div class="show-arti-con">{$row.content}</div>

		<p class="word-icon">附件</p>
		<div class="word-icons">
			{foreach name="row.files" item="vo"}
			<p>
				<a href="{$vo.file}"><img src="__CDN__/assets/img/index/word.png"><span>{$vo.name}</span> </a>
			</p>
			{/foreach}
		</div>
	</div>

</div>
<style type="text/css">
     .confirm-mc{
     	width: 100%;
     	height: 100%;
     	left: 0;
     	top: 0;
     	position: fixed;
     	background: none;
     	display: none;
     	background: rgba(0,0,0,0.5);
     }
	.confirm{
		width: 340px;
		/*height:  190px;*/
		margin: 0 auto;
		margin-top: 20%;
        border-radius: 5px;
        background: #fff;
        color: #fff;
        border-radius: 5px;
        clear: both;
	}
	.confirm p a{
		text-decoration: none;
		display: inline-block;
	}
	.confirm .q{
		padding-left: 30px;
		color: #000;
		text-align: center;
		margin: 30px 0;
	}
	.confirm .tishi-title{
		background: #2161ab;
		padding: 8px 50px;
	}
	.confirm p #y,.confirm p #n{

		padding: 8px 25px;
	}
	.confirm .tishi{
	    padding: 10px 30px;
	    padding-bottom: 25px;
		text-align: center;
	}
	.confirm p #y{
		margin-right: 30px;
		background: #2161ab;
		color: #fff;
	}
	.confirm p #n{
	   
		background: #e5e5e5;
		color: #000;
	}
</style>
    <div class="confirm-mc"> 
		<div class="confirm" style="">
			<p class="tishi-title">提示</p>
			<p class="q">您确认要删除吗？</p>
			<p class="tishi"><a href="/index/user/del_data?id={$row.id}"  id="y">是</a><a href="javascript:;"  id="n">否</a></p>
		</div>
    </div>
{include file="common/login"}
{include file="common/footer"}
<script type="text/javascript">
	$('#del').click(function(){
		$('.confirm-mc').show();
	})
	$('#n').click(function(){
		$('.confirm-mc').hide();
	})	

	$('#y').click(function(){

	})

</script>